[dev] [Marfuen] mariano/fix-suggestions#2290
Conversation
PR SummaryLow Risk Overview Suggestion generation is wrapped in a broader Written by Cursor Bugbot for commit 85cb977. This will update automatically on new commits. Configure here. |
…strict JSON schema The @ai-sdk/groq v3 upgrade enabled strict JSON schema validation by default, which requires ALL properties to be in `required`. The Zod schema used `.optional()` for vendorName/vendorWebsite, which excluded them from `required`, causing Groq API to reject every request. Changed to `.nullable()` so properties remain required (satisfying strict mode) while still allowing null values. Also moved DB queries inside try/catch to prevent unhandled errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4727c41 to
85cb977
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
… optional chaining Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🎉 This PR is included in version 3.2.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This is an automated pull request to merge mariano/fix-suggestions into dev.
It was created by the [Auto Pull Request] action.